﻿using Microsoft.EntityFrameworkCore;
using System;
using Volo.Abp.MultiTenancy;
using Xms.Abp.Data;
using Xms.Abp.Storage;

namespace SettingsManagement;

[IgnoreMultiTenancy]
[DynamicConnStringName(typeof(SettingsManagementDbProperties), nameof(SettingsManagementDbProperties.ConnStringName))]
public class SettingsManagementStorage : XmsStorage<SettingsManagementStorage>, ISettingsManagementStorage
{
    public DbSet<Setting> Settings { get; set; }

    public SettingsManagementStorage(DbContextOptions<SettingsManagementStorage> options, IServiceProvider serviceProvider)
        : base(options, serviceProvider)
    {

    }
}
